package com.daoeping.service.impl;

import java.util.List;
import com.daoeping.dao.GradeDao;
import com.daoeping.domain.Bsc_grade;
import com.daoeping.service.GradeService;


public class GradeServiceImpl implements GradeService {
	private GradeDao gradeDao;
	
	public GradeDao getGradeDao() {
		return gradeDao;
	}

	public void setGradeDao(GradeDao gradeDao) {
		this.gradeDao = gradeDao;
	}


	
	@Override
	public List<Bsc_grade> findBsc_grades() {
		return gradeDao.selectBsc_grades();
			
	}

	@Override
	public List<Bsc_grade> findBsc_gradeById(int id) {
		return gradeDao.SelectBsc_gradeById(id);
	}

}
